﻿using System;
using UnityEngine;
using System.Collections.Generic;

namespace Manager{
	public class WindowManager:BaseManager
	{
        [SerializeField]
        private List<WindowLayer> m_windowLayerList;


		public LoadingUI loadingUI;

		/// <summary>
		/// 显示loadingui  加载内容  加载进度
		/// </summary>
		/// <param name="content">Content.</param>
		/// <param name="progress">Progress.</param>
		public void ShowLoadingUI(string content,float progress){
			if (loadingUI != null)
				loadingUI.ShowLoadingUI (content,progress);
		}

		/// <summary>
		/// 隐藏加载进度条
		/// </summary>
		public void HideLoadingUI(){
			if (loadingUI != null)
				loadingUI.HideLoadingUI ();
		}


	}
}

